package com.javalong.affairs.module.main.fragment;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.webkit.WebView;

import com.javalong.affairs.R;
import com.javalong.affairs.base.activity.WebViewActivity;
import com.javalong.affairs.base.fragment.BaseFragment;
import com.javalong.affairs.base.utils.UrlUtils;

/**
 * Created by javalong on 2016/5/15.
 */
public class AssistantFragment extends BaseFragment {

    WebView wb_view;

    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        View view = inflater.inflate(R.layout.fragment_assistant, container, false);
        initUI(view);
        initData();
        return view;
    }

    private void initUI(View view) {
        wb_view = (WebView) view.findViewById(R.id.wb_view);
    }

    private void initData() {
        //wb_view.loadUrl(UrlUtils.getUrl("StudyShow", "outWeb_content"));
    }
}
